package com;

import java.util.Arrays;
import java.util.List;

public class GoLabelSpIds {
	
	public static String labelId = """
6T2Z460031B1D|6T2Z460031AXA|6T2Z460031A8B|6T2Z460031A5A|6T2Z460031C3C|6T2Z460031BXD|6T2Z460031B8B|6T2Z460031B4C|6T2Z460031B4A|6T2Z460031B3D|6T2Z460031B3B|6T2Z460031B3C|6T2Z460031B2D|6T2Z460031B2C|6T2Z460031B2A|6T2Z460031A8C|6T2Z460031A5D|6T2Z460031A4A|6T2Z460031A1D|6T2Z460031C7B|6T2Z460031B4D|6T2Z460031B4B|6T2Z460031B3A|6T2Z460031A9B|6T2Z460031A8A|
			""";
	
	public static void main(String[] args) {
	
		/**
		 * 	AA,45,270,1,1,0,0E,6T2Z460031C8C
			AA,202,270,1,1,0,0E,6T2Z460031B2B
			AA,45,290,1,1,0,0E,6T2Z460031C8C
			AA,202,290,1,1,0,0E,6T2Z460031B2B
		 */
	
		List<String> list = Arrays.asList(labelId.split("\\|"));
		for(int idx = 0; idx < list.size();idx = idx+2) {
			System.out.println( "AA,45,"+(270 + idx*10)+",1,1,0,0E," + list.get(idx).trim());
			if(idx + 1 < list.size())
				System.out.println( "AA,202,"+(270 + idx*10)+",1,1,0,0E," + list.get(idx+1).trim());
		}
	}

}
